package com.yunfeng.common.service;

import java.util.List;

import org.springframework.data.jpa.domain.Specification;

import com.yunfeng.common.entity.impl.LogEntity;
import com.yunfeng.common.log.LogLevel;
import com.yunfeng.common.util.Page;

public interface LogEntityService {
	void save(LogEntity logEntity);

	LogEntity get(Long id);

	void update(LogEntity logEntity);

	void delete(Long id);

	List<LogEntity> findByLogLevel(LogLevel logLevel, Page page);

	List<LogEntity> findAll();

	List<LogEntity> findByExample(Specification<LogEntity> specification,
			Page page);
}
